* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

input {
  outline: none;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: white;
}

a {
  text-decoration: none;
}

ul,
li {
  list-style-type: none;
}

.flex {
  display: flex;
}

.flex-direction-v {
  flex-direction: column;
}

.flex-wrap-wrap {
  flex-wrap: wrap;
}

.flex-center-v {
  align-items: center;
}

.flex-center-h {
  justify-content: center;
}

.flex-center-vh {
  align-items: center;
  justify-content: center;
}

.flex-between-h {
  justify-content: space-between;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-3 {
  flex: 3;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.show-in-block {
  display: inline-block;
}

.show-in {
  display: inline;
}

.show-block {
  display: inline-block;
}

.hide {
  display: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix {
  clear: both;
}

.text-one-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.border-radius-half {
  border-radius: 50% !important;
}


/* 业务共用 start */

.my-toast {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layui-m-layershade {
  background-color: rgba(0, 0, 0, .3);
}

.layui-m-layerchild {
  border-radius: 3px !important;
}

@keyframes chatLoading {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
  }
}


/* 业务共用 end */
